home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d26 / qmtek601.arc / SER_PRN.TEC < prev    next >
Text File  |  1991-05-23  |  2KB  |  41 lines

  1. ID:SP Serial Port Printing in DESQview
  2. Quarterdeck Technical Note #107
  3. by Stan Young
  4.  
  5. Q: How can I initialize my serial printer with DESQview?
  6.  
  7. A: If you are going to initialize a serial port in a DESQview
  8. window, you have set up the program information file for that
  9. window so that the option "Uses serial ports" is either "Y" or
  10. the specific port being used.  Otherwise the COM port cannot be
  11. accessed due to the port protection mechanism of DESQview. 
  12. Trying to use the DOS MODE command to initialize a COM port from
  13. a window which has "Uses serial ports" set to "N" will result in
  14. a DOS message: "Invalid parameter 'COM?' since DOS will not see
  15. the port as available.
  16.  
  17. Q: Is there a "best way" to set up for serial printing in
  18. DESQview?
  19.  
  20. A: Set up as shown above, a program running in DESQview can
  21. directly access a serial port for printing.  However, a better
  22. solution is to initialize the port with MODE and redirect an LPT
  23. port to the serial port BEFORE running DESQview.  If you have
  24. redirected an LPT port to the serial port before running
  25. DESQview, you can simply print to the port without regard to how
  26. the "Uses serial ports" parameter is set, since the actual
  27. redirection of print is handled outside of DESQview.  
  28.  
  29. Q: But I also have a parallel printer.  How can I redirect my
  30. serial port to LPT1?
  31.  
  32. A: Don't select an LPT port which is already in use.  If you
  33. already have a real parallel printer, simply select the next
  34. logical LPT port to redirect.  Remember that a printer port can
  35. be addressed as a logical device by DOS --that is, you do not
  36. have to actually have a port set up as LPT2 in order to direct
  37. COM1 to it.  The logical parallel printer ports supported by DOS
  38. are LPT1, LPT2 and LPT3.
  39.  
  40.        Copyright (C) 1991 by Quarterdeck Office Systems
  41.                  * * * E N D  O F  F I L E * * *